package com.web.exiaodao.business.repository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.web.exiaodao.business.entity.WalletWithdrawRecord;


public interface WalletWithdrawRecordRepository extends
		PagingAndSortingRepository<WalletWithdrawRecord, Long>,
		JpaSpecificationExecutor<WalletWithdrawRecord> {
	public WalletWithdrawRecord findByIdAndStatusNot(Long id, Integer status);
	/**
	 * 根据流水号查询
	 * @param withdrawTradeNo
	 */
	public WalletWithdrawRecord findByWithdrawTradeNoAndStatusNot(String withdrawTradeNo, Integer status);
}
